package com.example.block_chain.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.example.block_chain.common.SystemParameters;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClassDto {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String classCode;

    private String facultyCode;

    private String schoolCode;

    /**
     * 查询的哪一页中的数据
     */
    private Integer page;

    /**
     * 每页的数量
     */
    private Integer pageSize = SystemParameters.PAGE_SIZE;
}
